

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>The menu module &mdash; pyamp v1.2 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="top" title="pyamp v1.2 documentation" href="../index.html" />
    <link rel="up" title="The ubuntu module" href="mod_pyamp_system_ubuntu.html" />
    <link rel="next" title="The util module" href="mod_pyamp_util.html" />
    <link rel="prev" title="The packages module" href="pyamp_system_ubuntu_packages.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mod_pyamp_util.html" title="The util module"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="pyamp_system_ubuntu_packages.html" title="The packages module"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="mod_pyamp.html" >The pyamp module</a> &raquo;</li>
          <li><a href="mod_pyamp_system.html" >The system module</a> &raquo;</li>
          <li><a href="mod_pyamp_system_ubuntu.html" accesskey="U">The ubuntu module</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-pyamp.system.ubuntu.menu">
<span id="the-menu-module"></span><h1>The menu module<a class="headerlink" href="#module-pyamp.system.ubuntu.menu" title="Permalink to this headline">¶</a></h1>
<p>The menu module contains the Menu class which provides the ability to locate
the configuration file for the Ubuntu application menu, as well as locating the
system directory containing the applications.</p>
<div class="section" id="the-menu-class">
<h2>The Menu class<a class="headerlink" href="#the-menu-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-a124adb89d95ea9272541ff90214942dc258beda.png" alt="Inheritance diagram of pyamp.system.ubuntu.menu.Menu" usemap="#inheritance2750905df8" class="inheritance"/>
<map id="inheritance2750905df8" name="inheritance2750905df8">
<area shape="rect" href="#pyamp.system.ubuntu.menu.Menu" title="pyamp.system.ubuntu.menu.Menu" alt="" coords="5,7,251,33"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.system.ubuntu.menu.Menu">
<em class="property">class </em><tt class="descclassname">pyamp.system.ubuntu.menu.</tt><tt class="descname">Menu</tt><a class="reference internal" href="../_modules/pyamp/system/ubuntu/menu.html#Menu"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.system.ubuntu.menu.Menu" title="Permalink to this definition">¶</a></dt>
<dd><p>The Menu class provides the ability to find the file containing
the configuration data pertaining to the Ubuntu applications menu, as
well as the ability to locate the directory which stores the specific
application configuration files.</p>
<dl class="classmethod">
<dt id="pyamp.system.ubuntu.menu.Menu.findApplicationsDirectory">
<em class="property">classmethod </em><tt class="descname">findApplicationsDirectory</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/pyamp/system/ubuntu/menu.html#Menu.findApplicationsDirectory"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.system.ubuntu.menu.Menu.findApplicationsDirectory" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the directory which contains the application desktop files,
or None if it was unable to be located.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyamp.system.ubuntu.menu.Menu.findMenuFile">
<em class="property">classmethod </em><tt class="descname">findMenuFile</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/pyamp/system/ubuntu/menu.html#Menu.findMenuFile"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.system.ubuntu.menu.Menu.findMenuFile" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the system file associated with the applications menu, or
None if it was unable to be located.</p>
</dd></dl>

</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">The menu module</a><ul>
<li><a class="reference internal" href="#the-menu-class">The Menu class</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="pyamp_system_ubuntu_packages.html"
                        title="previous chapter">The packages module</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="mod_pyamp_util.html"
                        title="next chapter">The util module</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/_generated/pyamp_system_ubuntu_menu.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mod_pyamp_util.html" title="The util module"
             >next</a> |</li>
        <li class="right" >
          <a href="pyamp_system_ubuntu_packages.html" title="The packages module"
             >previous</a> |</li>
        <li><a href="../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="mod_pyamp.html" >The pyamp module</a> &raquo;</li>
          <li><a href="mod_pyamp_system.html" >The system module</a> &raquo;</li>
          <li><a href="mod_pyamp_system_ubuntu.html" >The ubuntu module</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Brett Ponsler.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.1.
    </div>
  </body>
</html>